 {

        var o = require("../../UIManager/UISoundManager.js");
        cc.Class({
            extends: cc.Component,
            properties: {},
            onLoad: function () {
                Global.notificationCenter.on(Global.eventName.MSG_HAPPYBAG5, this.VideoGetReward.bind(this), this);
            },
            VideoGetReward: function (e) {
                cc.error("弹出导流合集弹框++++++++++result11111= ", e), e && "readaddsreward" == e.action ? (cc.error("弹出导流合集弹框++++++++++result22222 = ", e),
                e.todotasks.params.rewards && this.scheduleOnce(function () {
                    Global.config.AlreadyWatchVideoNums = Global.config.AlreadyWatchVideoNums + 1;
                    var t = {
                        reward: e.todotasks.params.rewards[0].count,
                        pic: Global.spriteAtlas.getSpriteFrame("WP_3"),
                        name: "金币",
                        type: "VideoGetReward"
                    };
                    Global.UIPopupManager.addPopup("PopupPanel/Panel_shareGroup_Reward", function (e) {
                        e.getComponent("shareGroup_RewardPanel").setData(t);
                    });
                }.bind(this), .1)) : e && "getreward" == e.action && this.showOfficialAccountsWard(e);
            },
            showOfficialAccountsWard: function (e) {
                if (200292 == e.taskId && e.todotasks.params.rewards) {
                    o && o.playReward();
                    var t = {
                        text: "关注公众号奖励 " + e.todotasks.params.rewards[0].count + "金币 和 " + e.todotasks.params.rewards[1].count + "钻石 已到账，请注意查收",
                        confirmText: "确定",
                        confirmSp: Global.spriteAtlas.getOKSpf(),
                        confirmCallback: function () {
                            o.playEffect("select"), console.log(" confirmCallback ");
                        }
                    };
                    Global.UIPopupManager.alert(t);
                }
            }
        })
    }